home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 17 / AMIGAplus Sonderheft 17 (1999)(ICP)(DE)[!].iso / asm_includes / rtgmaster / rtgc2p.i < prev    next >
Text File  |  1996-09-12  |  2KB  |  95 lines

  1.         include "exec/types.i"
  2.  
  3.  
  4.     STRUCTURE c2p_Info,0
  5.      WORD    CI_ColorDepth           ;CI_256, CI_128, CI_64, CI_EHB, CI_32..
  6.      WORD    CI_CPU                  ;CI_68060, CI_68040, CI_68030....
  7.      WORD    CI_Needs                ;CI_Aikiko, CI_MMU, CI_FPU...
  8.      BYTE    CI_Dirty                ;TRUE/FALSE
  9.      BYTE    CI_Hack                 ;TRUE/FALSE
  10.      ULONG   CI_PixelSize            ;c2p_1x1...
  11.      WORD    CI_WidthAlign           ;Width has to be divisible by <number>
  12.      WORD    CI_HeightAlign          ;Height has to be divisible by <number>
  13.      WORD    CI_Misc                 ;Different stuff...
  14.      ULONG   CI_AmiCompatible        ;Is this compatible to RtgScreenAMI ?
  15.      APTR    CI_Description          ;Pointer to a string
  16.      APTR    CI_Initialization       ;Pointer to Initialization code
  17.      APTR    CI_Expunge              ;Pointer to Expunge code
  18.      APTR    CI_Normal_c2p           ;Pointer to c2p code
  19.      APTR    CI_Normal_c2p_InterL    ;Pointer to Interleaved c2p
  20.      APTR    CI_Scrambled_c2p        ;Pointer to Scrambled c2p
  21.      APTR    CI_Scrambled_c2p_InterL ;Pointer to Scrambled Interleaved c2p
  22.      BYTE    CI_Asynchrone           ;TRUE/FALSE
  23.      LABEL   CI_SIZEOF
  24.  
  25. ; CI_ColorDepth
  26.  
  27. CI_256 EQU 256
  28. CI_128 EQU 128
  29. CI_64  EQU 64
  30. CI_EHB EQU 32
  31. CI_32  EQU 16
  32. CI_16  EQU 8
  33. CI_8   EQU 4
  34. CI_4   EQU 2
  35. CI_2   EQU 1
  36.  
  37. ; CI_CPU
  38.  
  39. CI_68060 EQU 1
  40. CI_68040 EQU 2
  41. CI_68030 EQU 4
  42. CI_68020 EQU 8
  43. CI_68060D EQU 16
  44. CI_68040D EQU 32
  45. CI_68030D EQU 64
  46. CI_68020D EQU 128
  47.  
  48. ; CI_Needs
  49.  
  50. CI_68060N EQU 1
  51. CI_68040N EQU 2
  52. CI_68030N EQU 4
  53. CI_Aikiko EQU 8
  54. CI_MMU    EQU 16
  55. CI_FPU    EQU 32
  56. CI_FAST   EQU 64
  57. CI_2MB    EQU 128
  58.  
  59. ; CI_Misc
  60.  
  61. CI_Smaller EQU 1
  62. CI_Fixed   EQU 2
  63. CI_Destruct EQU 4
  64.  
  65. c2p_1x1 EQU 1
  66. c2p_1x2 EQU 2
  67. c2p_2x1 EQU 4
  68. c2p_2x2 EQU 8
  69. c2p_4x2 EQU 16
  70. c2p_2x4 EQU 32
  71. c2p_4x4 EQU 64
  72. c2p_Best EQU 128
  73. c2p_Fastest EQU 256
  74. c2p_Selected EQU 512
  75. c2p_1x1D EQU 1024
  76. c2p_1x2D EQU 2048
  77. c2p_2x1D EQU 4096
  78. c2p_2x2D EQU 8192
  79. c2p_4x2D EQU 16384
  80. c2p_2x4D EQU 32768
  81. c2p_4x4D EQU 65536
  82. c2p_BestD EQU 131072
  83. c2p_FastestD EQU 262144
  84. c2p_SelectedD EQU 524288
  85.  
  86. c2p_err_Wrong_C2P EQU 1
  87. c2p_err_Wrong_Depth EQU 2
  88. c2p_warn_Wrong_Pixelmode EQU 3
  89. c2p_err_Wrong_Windowsize EQU 4
  90. c2p_warn_divisible EQU 5
  91. c2p_err_hardware EQU 6
  92. c2p_err_memory EQU 7
  93. c2p_err_internal EQU 8
  94. c2p_warn_internal EQU 9
  95.